# 切片
# 我想取出来 def
str_obj = "abcdefghijk"
print(str_obj[3:6]) # def
print(str_obj[3:6:2])  # 每隔两个取一个